package org.jeecg.modules.demo.posterlevel.service.impl;

import org.jeecg.modules.demo.posterlevel.entity.PosterLevelData;
import org.jeecg.modules.demo.posterlevel.mapper.PosterLevelMapper;
import org.jeecg.modules.demo.posterlevel.service.IPosterLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author yw
 * @Date 2021/3/15 18:32
 */
@Service
public class PosterLevelServiceImpl implements IPosterLevelService {
    @Autowired
    PosterLevelMapper posterLevelMapper;

    @Override
    public List<PosterLevelData> getPosterList(PosterLevelData posterLevelData) {
        return posterLevelMapper.getPosterList(posterLevelData);
    }

    @Override
    public List<PosterLevelData> getLevelList(PosterLevelData posterLevelData) {
        return posterLevelMapper.getLevelList(posterLevelData);
    }

    @Override
    public Integer getDataCount(PosterLevelData posterLevelData) {
        return posterLevelMapper.getDataCount(posterLevelData);
    }
}
